﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BowlingScoreRecord.aspx.cs" Inherits="Bowling.BowlingScoreRecord" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    
    
</head>
<body>
    <h6>
    <form id="form1" runat="server">
    <div>
        <table width="1000">
            <tr>
                <td width="100">
                    <asp:TextBox ID="tbDeleteSeq" runat="server"></asp:TextBox>
                </td>
                <td width="50">
                    <asp:Button ID="btnDeleteRow" runat="server" OnClick="btnRemoveScoreRecord_Click" Text="삭제" />
                </td>
                <td align="right">
                    <asp:Button ID="btnSearchAll" runat="server" OnClick="btnSearchAll_Click" Text="모든기록보기" Width="150" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <style type="text/css">
            .outer { BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: black 1px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: black 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: black 1px solid; BORDER-COLLAPSE: collapse }
            .frame { BORDER-RIGHT: black 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: black 0px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: black 0px solid; PADDING-TOP: 0px; BORDER-BOTTOM: black 0px solid; BORDER-COLLAPSE: collapse }
            .throw1 { BORDER-RIGHT: black 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: black 0px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: black 0px solid; PADDING-TOP: 0px; BORDER-BOTTOM: black 0px solid; BORDER-COLLAPSE: collapse }
            .throw2 { BORDER-RIGHT: black 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: black 0px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: black 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: black 1px solid; BORDER-COLLAPSE: collapse }
            .frameScore { BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: black 0px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; BORDER-LEFT: black 0px solid; PADDING-TOP: 0px; BORDER-BOTTOM: black 0px solid; BORDER-COLLAPSE: collapse; TEXT-ALIGN: center }
        </style>
        <asp:Repeater ID="repBowlingScoreRecord" runat="server" OnItemCommand="repBowlingScoreRecord_ItemCommand">
            <HeaderTemplate>
                
                <table width="1000" height="20" class="outer" border="2px" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="outer" width="80" align="center">번호</td>
                        <td class="outer" width="200" align="center">USER ID</td>
                        <td class="outer" width="300" align="center">게임 날짜</td>
                        <td class="outer" width="40" align="center">FRM#1</td>
                        <td class="outer" width="40" align="center">FRM#2</td>
                        <td class="outer" width="40" align="center">FRM#3</td>
                        <td class="outer" width="40" align="center">FRM#4</td>
                        <td class="outer" width="40" align="center">FRM#5</td>
                        <td class="outer" width="40" align="center">FRM#6</td>
                        <td class="outer" width="40" align="center">FRM#7</td>
                        <td class="outer" width="40" align="center">FRM#8</td>
                        <td class="outer" width="40" align="center">FRM#9</td>
                        <td class="outer" width="60" align="center">FRM#10</td>
                    </tr>
                </table>
            </HeaderTemplate>
           
            <ItemTemplate>

                <table width="1000" class="outer" cellspacing="0" cellpadding="0"> 
	                <tr>
                        <td align="center" class="outer" width="80">
					        <%#DataBinder.Eval(Container.DataItem, "SEQ")%>
					    </td>
                        
					    <td align="center" class="outer" width="200">
					        <%#DataBinder.Eval(Container.DataItem, "USERID")%>
					    </td>
                        <td align="center" class="outer" width="300">
					        <%#DataBinder.Eval(Container.DataItem, "PLAYDATE")%>
					    </td>
				                
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW11")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW12")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE1")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW21")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW22")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE2")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW31")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW32")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE3")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW41")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW42")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE4")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW51")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW52")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE5")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW61")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW62")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE6")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW71")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW72")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE7")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW81")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW82")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE8")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="40" cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW91")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW92")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="2" height="30" width="40">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE9")%>
					                </td>
				                </tr>
			                </table>
		                </td>
		                <td class="outer">
			                <table class="frame" width="60"  cellspacing="0" cellpadding="0">
				                <tr>
					                <td align="center" class="throw1" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW101")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW102")%>
					                </td>
					                <td align="center" class="throw2" height="20" width="20">
					                    <%#DataBinder.Eval(Container.DataItem, "THROW103")%>
					                </td>
				                </tr>
				                <tr>
					                <td align="center" class="frameScore" colspan="3" height="30" width="60">
					                    <%#DataBinder.Eval(Container.DataItem, "SCORE10")%>
					                </td>
				                </tr>
			                </table>
		                </td>
	                </tr>
                </table>
                
                
            </ItemTemplate>
        </asp:Repeater>
        
    </div>
    </form>
    </h6>
</body>
</html>
